'use strict';

/**
 * 教室相关接口
 */
const classroomCtrl = require('../../controllers/classroom');
const router = require('koa-router')();

router.post('/query', classroomCtrl.classroom_list);
router.post("/add", classroomCtrl.add_classroom);
router.post("/update", classroomCtrl.update_classroom);
router.post('/delete', classroomCtrl.delete_classroom);

module.exports = router;
